package org.wanghong.gift.client;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PutMapping;
import org.wanghong.gift.domain.LoginUser;
import org.wanghong.gift.util.AjaxResult;
@FeignClient(value = "GIFT-AUTH",fallbackFactory = LoginUserClientFallbackFactory.class)
public interface LoginUserClient {
    @PutMapping("/loginUser")
    AjaxResult addOrUpdate(LoginUser loginUser);

}
